class Person {
  constructor(public name: string, private age: number, readonly height: number) {
    this.name = name
    this.age = age
    this.height = height
  }
  runing() {
    console.log(this.age, "eating")
  }
}

const p = new Person("why", 18, 1.88)
console.log(p.name)
// console.log(p.age)
console.log(p.height)
// p.height = 1.98

export { }